<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">
	


<ui:composition template="./template/template.xhtml">
  
<ui:define name="body">
 
<f:view >
 
	<a4j:form>
		<rich:panel>
        <f:facet name="header">
        	<h:outputText value="userr"/>
        </f:facet>
        <h:panelGrid columns="3" title="user" rowClasses="s1row" columnClasses="wfcol1,wfcol2,wfcol3">
        <h:outputText value="Name: " />
			<h:inputText value="#{rejestruj.name}" id="name" required="true"/>
			<rich:message for="name" />
			
			<h:outputText value="Phone: " />
			<h:inputText value="#{rejestruj.haslo}" id="phone" required="true"/>
			<rich:message for="phone" />
			
			<h:outputText value="Address111: " />
			<h:inputText value="#{rejestruj.mail}" id="adresse" required="true"/>
			<rich:message for="adresse" />
			
			<f:facet name="footer"> 
				<a4j:commandButton action="#{rejestruj.save}"  value="save"/>
			</f:facet>
			</h:panelGrid>
    	</rich:panel>
    	
			
				
	</a4j:form>
	
</f:view>
	</ui:define>
</ui:composition>

</html>